package us.gaaoc.framework.webapp.backingbeans.profile;

import java.util.ArrayList;
import java.util.List;

import javax.faces.model.SelectItem;

public class UserProfile {

	/**
	 * Properties
	 */
	private List<Links> menu;
	private SelectItem [] caseTypes = {new SelectItem("childEnforcement", "ChildEnforcement")};
	
	/**
	 * Constructor
	 *
	 */
	public UserProfile() {
	}

	/**
	 * @return Returns the menu.
	 */
	public List<Links> getMenu() {
		this.menu = new ArrayList<Links>();
		//this.menu.add(new Links("viewProfile", "View"));
		this.menu.add(new Links("editProfile", "Edit Profile"));
		this.menu.add(new Links("changePassword", "Change Password"));
		//this.menu.add(new Links("viewNotifcations", "Notifications"));
		return menu;
	}


	/**
	 * @param menu The menu to set.
	 */
	public void setMenu(List<Links> menu) {
		this.menu = menu;
	}
	
	/**
	 * Getter for property caseTypes
	 * @return caseTypes
	 */
	public SelectItem[] getCaseTypes() {
		return caseTypes;
	}

	/**
	 * Setter for caseTypes
	 * @param caseTypes
	 */
	public void setCaseTypes(SelectItem[] caseTypes) {
		this.caseTypes = caseTypes;
	}

	/**
	 * This method navigates user to View Profile Page
	 * @return String
	 */
	public String viewProfile(){
		return "viewProfile";
	}

}
